import java.util.InputMismatchException;
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        // 改用try关键字避免资源占用
        try(Scanner scanner = new Scanner(System.in)) {

            int x = 0;
            int y = 0;
            try {
                x = scanner.nextInt();
                y = scanner.nextInt();
            //     catch处理异常
            } catch (InputMismatchException e) {
                System.out.println("输入无效，请输入整数！");
            }

            Data data = new Data(x, y);
            System.out.println(data.getX() + data.getY());
        }

    }

}

class Data {

    private int x;
    private int y;

 public Data(int x, int y) {
        this.x = x;
        this.y = y;
    }

    public int getX() {
        return x;
    }

   public int getY() {
        return y;
    }

}